package com.ruoyi.sys.vehile.mapper;

import java.util.List;
import com.ruoyi.sys.vehile.domain.TbMonthPayment;

/**
 * 月卡缴费Mapper接口
 *
 * @author ruoyi
 * @date 2022-05-24
 */
public interface TbMonthPaymentMapper
{
    /**
     * 查询月卡缴费
     *
     * @param mpId 月卡缴费主键
     * @return 月卡缴费
     */
    public TbMonthPayment selectTbMonthPaymentByMpId(Long mpId);

    /**
     * 查询月卡缴费列表
     *
     * @param tbMonthPayment 月卡缴费
     * @return 月卡缴费集合
     */
    public List<TbMonthPayment> selectTbMonthPaymentList(TbMonthPayment tbMonthPayment);

    /**
     * 新增月卡缴费
     *
     * @param tbMonthPayment 月卡缴费
     * @return 结果
     */
    public int insertTbMonthPayment(TbMonthPayment tbMonthPayment);

    /**
     * 修改月卡缴费
     *
     * @param tbMonthPayment 月卡缴费
     * @return 结果
     */
    public int updateTbMonthPayment(TbMonthPayment tbMonthPayment);

    /**
     * 删除月卡缴费
     *
     * @param mpId 月卡缴费主键
     * @return 结果
     */
    public int deleteTbMonthPaymentByMpId(Long mpId);

    /**
     * 批量删除月卡缴费
     *
     * @param mpIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbMonthPaymentByMpIds(Long[] mpIds);
}
